home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr27 / mb_lp15.zip / LP15.MSG < prev   
Internet Message Format  |  1993-05-05  |  1KB

  1. From: matt@wind.bellcore.com (Matthew Blaze)
  2. Newsgroups: comp.binaries.ibm.pc
  3. Subject: v01i112: lp, a line printer pgm like BSD lpr(1), v1.5
  4. Summary: lp.exe, a line printer pgm like BSD lpr(1), v1.5
  5. Date: 13 Feb 89 01:51:38 GMT
  6. Approved: dhesi@bsu-cs.UUCP
  7.  
  8. Posting-number: Volume 01 Issue 112
  9. Originally-from: matt@wind.bellcore.com (Matthew Blaze)
  10. Submitted-by: matt@wind.bellcore.com (Matthew Blaze)
  11. Archive-name: mb_lp/lp.uue
  12.  
  13. Here is a simple printing program i wrote to approximate the
  14. functionality of the BSD unix lpr(1) command.  Type "lp" for
  15. instructions.
  16.  
  17. Enjoy.
  18.  
  19. Matt Blaze
  20.  
  21. [
  22. There are a large number of options:  add a header (filename and file's
  23. timestamp) to each page, fold long lines to specified width, expand
  24. tabs at user-defined intervals, pause between sheets, use either hard
  25. formfeed or enough newlines instead, send to any selected device
  26. (default PRN) or to standard output, print from stdin, and set top and
  27. bottom margins to a user-specified amount.
  28.  
  29. Shareware contributors can get source suitable for Turbo C.
  30.  
  31. Questionable feature:  When output is redirected to stdout, each
  32. <CR><LF> in the input file gets translated to <CR><CR><LF> in the
  33. output.  Some brain-damaged "smart" printers, like my Brother CE-50,
  34. will double-space on <CR><CR><LF>.
  35.  
  36. -- R.D.
  37. ]
  38.